using System;

namespace Pay.TO {
	[Serializable]
	public class thumbnail {
		public thumbnail() {
		}
		public string id { get; set; }
		/// <summary>
		/// gridfs里的文件id
		/// </summary>
		public string oid { get; set; }
		/// <summary>
		/// 缩略图类型：1居中切，2整体缩
		/// </summary>
		public int type { get; set; }
		/// <summary>
		/// 裁切的宽
		/// </summary>
		public int width { get; set; }
		/// <summary>
		/// 裁切的高
		/// </summary>
		public int height { get; set; }
		/// <summary>
		/// 文件字节
		/// </summary>
		public byte[] file_byte { get; set; }
	}
}
